﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sunny.Controls
{
	public class DropDownList<KeyType, ValueType> : Telerik.Windows.Controls.RadComboBox
	{
		public DropDownList()
		{
			this.DisplayMemberPath = "Key";
			this.SelectedValue = "Value";
		}

		public void AddItem(KeyType key, ValueType value)
		{
			this.Items.Add(new System.Collections.Generic.KeyValuePair<KeyType, ValueType>(key, value));
		}
	}
}